/* GOPongTable */

#import <Cocoa/Cocoa.h>
#import <GOPaddle.h>
#import <GOBall.h>
#import "GOPongController.h"

@interface GOPongTable : NSView
{
	GOPaddle *paddle1;
	GOPaddle *paddle2;
	GOBall *ball;
	IBOutlet GOPongController *table;
	NSAffineTransform *ballmove;
	NSAffineTransform *paddlemove;
	NSString *upButton1;
	NSString *downButton1;
	NSString *upButton2;
	NSString *downButton2;
}

- (void)drawPaddle:(GOPaddle *)paddle;
- (void)drawBall;
- (void)moveBall;
- (void)movePaddle:(GOPaddle *)paddle;
- (void)stepAnimation:(NSTimer *)timer;
- (void)keyDown:(NSEvent *)event;
- (BOOL)acceptsFirstResponder;
@end
